import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-05-06
 * Time: 14:13
 */
public class Test {
    public static void main(String[] args) {
        Sort sort = new Sort();
        int[] array = {4, 1, 2, 6, 3, 9, 5, 8, 7, 0};
        System.out.println(Arrays.toString(array));
//        sort.InsertSort(array);
//        sort.ShellSort(array);
//        sort.SelectSort(array);
        sort.HeapSort(array);
        System.out.println(Arrays.toString(array));
    }
}
